<?php
/**
 * Created by PhpStorm.
 * User: sunny
 * 尽人事，听天命
 * Date: 2017/6/26
 * Time: 22:50
 */
namespace app\mobile\controller;

class Index extends Base{
    public function index(){
        $res=model('Member')->autoRegLogin('third_id','oL3Uhw8kJ3gajThwneICOMxnR9qk');
        print_r($res);
        echo config('SITE_URL').'/mobile/Login/index?referer='.urlencode(config('SITE_URL').'/mobile/WechatBind/ajaxWebLogin?qrcode_id=123');
    }
}